package com.sise.controller;

import com.sise.bean.CodeMsg;
import com.sise.service.IOrderRefundService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author zj
 */
@RestController
@RequestMapping("/sise/order-refund")
public class OrderRefundController {

    @Resource
    private IOrderRefundService orderRefundService;

    @PostMapping("/getOrderRefund")
    public CodeMsg getOrderRefund(String orderId) {
        return orderRefundService.getOrderRefund(orderId);
    }

}
